package com.rlax.ccdemo.service.api.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户表实体类
 *
 * @author Rlax
 * @since 2021-03-31
 */
@Data
@ApiModel(value = "UpmsUser对象", description = "用户表")
public class UpmsUserDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
  @ApiModelProperty(value = "ID")
  private Long id;
    /**
     * 用户名
     */
  @ApiModelProperty(value = "用户名")
  private String username;
    /**
     * 昵称
     */
  @ApiModelProperty(value = "昵称")
  private String nickname;
    /**
     * 真实姓名
     */
  @ApiModelProperty(value = "真实姓名")
  private String realname;
    /**
     * 性别
     */
  @ApiModelProperty(value = "性别")
  private String gender;
    /**
     * 密码
     */
  @ApiModelProperty(value = "密码")
  private String password;
    /**
     * 盐
     */
  @ApiModelProperty(value = "盐")
  private String salt;
    /**
     * 邮箱
     */
  @ApiModelProperty(value = "邮箱")
  private String email;
    /**
     * 手机号
     */
  @ApiModelProperty(value = "手机号")
  private String mobile;
    /**
     * 头像URL
     */
  @ApiModelProperty(value = "头像URL")
  private String avatarUrl;
    /**
     * 最后登录时间
     */
  @ApiModelProperty(value = "最后登录时间")
  private LocalDateTime logged;
    /**
     * 租户编码
     */
  @ApiModelProperty(value = "租户编码")
  private String tenantCode;
    /**
     * 状态
     */
  @ApiModelProperty(value = "状态")
  private String status;


}
